﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class ChooserButton : MonoBehaviour
{
    public Character character;
    public Text characterName;

    void Start()
    {
        
    }

    // Update is called once per frame
    void Update()
    {
        
    }

    public void Select()
    {
        TargetChooser.GetChoose(this);
    }

    public void SetCharacter(Character character)
    {
        this.character = character;
        characterName.text = character.data.characterName;
    }
}
